﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel.DataAnnotations;
using System.Web.Mvc;

namespace MvcMusicStore.ViewModels
{
    public class ChangeInfomationViewModel
    {

        [Display(Name="Address")]
        public string Address { get; set; }

        [Display(Name="City")]
        [StringLength(50, ErrorMessage="50 character")]
        public string City { get; set; }

        [Display(Name="Phone")]
        [StringLength(20, ErrorMessage="The {0} must be at least {2} characters long")]
        public string Phone { get; set; }

        [Display(Name = "Email address")]
        [DataType(DataType.EmailAddress)]
        public string Email { get; set; }
    }
}
